import request from '@/utils/request'

export const PaymentService = {
  createPayment(orderId: number, method: string) {
    return request.post('/api/payments', { orderId, method })
  },
  
  checkPaymentStatus(orderId: number) {
    return request.get(`/api/payments/status/${orderId}`)
  }
} 